﻿using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 提现表：mc_Transfer
	/// </summary>
	[Serializable]
	public class transfer_dto {
		public transfer_dto() {
		}

		/// <summary>
		/// 转账id
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long merchant_id { get; set; }
		/// <summary>
		/// 提现商户id
		/// </summary>
		public long bind_id { get; set; }
		/// <summary>
		/// 提现金额
		/// </summary>
		public decimal transfer_amount { get; set; }
		/// <summary>
		/// 提现单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 实结金额(实际扣款)＝提现金额+结算费
		/// </summary>
		public decimal amount { get; set; }
		/// <summary>
		/// 状态：1提现申请，2完成，3转账中，4失败
		/// </summary>
		public TransferStatus status { get; set; }
		/// <summary>
		/// 结算费
		/// </summary>
		public decimal settle_amount { get; set; }
		/// <summary>
		/// O商结算费
		/// </summary>
		public decimal merchant_settle { get; set; }
		/// <summary>
		/// 平台结算费
		/// </summary>
		public decimal plat_settle { get; set; }
		/// <summary>
		/// 支付信息id
		/// </summary>
		public long pay_id { get; set; }
		/// <summary>
		/// 开户银行
		/// </summary>
		public string bank_name { get; set; }
		/// <summary>
		/// 卡号
		/// </summary>
		public string account_no { get; set; }
		/// <summary>
		/// 开户姓名/公司名称
		/// </summary>
		public string account_name { get; set; }
		/// <summary>
		/// 身份证
		/// </summary>
		public string id_card { get; set; }
		/// <summary>
		/// 卡类型：0个人，1企业
		/// </summary>
		public int busi_type { get; set; }
		/// <summary>
		/// 申请时间
		/// </summary>
		public DateTime apply_time { get; set; }
		/// <summary>
		/// 失败原因
		/// </summary>
		public string fail { get; set; }
		/// <summary>
		/// 服务器回调该地址
		/// </summary>
		public string notify { get; set; }
		/// <summary>
		/// 支付信息
		/// </summary>
		public pay_info_dto pay_info { get; set; }
		/// <summary>
		/// 商户
		/// </summary>
		public merchant_dto merchant { get; set; }
		/// <summary>
		/// 提现商户
		/// </summary>
		public merchant_dto binder { get; set; }
	}
}